package org.budo.netty.servlet.server.handler.servlet.dispatcher;

import org.budo.netty.servlet.server.handler.servlet.BudoServletRequest;
import org.budo.netty.servlet.server.handler.servlet.BudoServletRequestWrapper;

/**
 * @author lmw
 */
public class BudoPathRequestDispatcherRequest extends BudoServletRequestWrapper {
    private String path;

    public BudoPathRequestDispatcherRequest(String path, BudoServletRequest request) {
        super(request);
        this.path = path;
    }

    @Override
    public String getRequestURI() {
        return this.path;
    }
}